package com.baseLesson._02_dataStruct._01_Array;

public class Test {

    public static void main(String[] args) {
        //老数组
        String[] stringsOld = new String[2];
        stringsOld[0] = "小胖";
        stringsOld[1] = "大胖";
        //扩容，新数组
        String[] stringNew = new String[4];
        //搬家

        for (int i = 0; i < stringsOld.length; i++) {
            stringNew[i] = stringsOld[i];
        }
        stringsOld = stringNew;


        Integer[] integers = new Integer[3];

    }


}
